package com.roc.steelend.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.Employee;
import com.roc.steelend.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {


    List<HashMap<String,Object>> findEmployeeByShow(@Param("now")Integer now,
                                                    @Param("size")Integer size,
                                                    @Param("departmentId")Integer departmentId);


    Integer  findEmployeeByShowCount(
                                                    @Param("departmentId")Integer departmentId);

    List<HashMap<String, Object>> findEmployeeData(@Param("employeeId")Integer employeeId);

    List<HashMap<String, Object>> findEmployeeMsg(@Param("employeeId") Integer employeeId);
}
